import { createApp } from 'vue'
import '@/styles/common.scss'
import App from './App.vue'
import router from './router'
import {
	createPinia
} from 'pinia' //1.引入pinia
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia() //2.创建pinia实例
pinia.use(piniaPluginPersistedstate) //3.使用插件
const app = createApp(App)

app.use(router)
// app.use(ElementPlus);
app.use(pinia)

app.mount('#app');
